<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>用户登录
    重庆市润心智慧云医 </title>
  <link rel="stylesheet" href="static/css/login_style.css" type="text/css">
  <link rel="stylesheet" type="text/css" href="static/css/animate-3.6.0.min.css">
  <script src="static/js/jquery.min2.js"></script>
  <link rel="stylesheet" href="static/css/site2.css" type="text/css">
  <meta charset="utf-8">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="Cache-Control" content="no-transform">
  <meta http-equiv="Cache-Control" content="no-siteapp">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="apple-mobile-web-app-title" content="重庆市润心智慧云医 ">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta content="icmsdev.com" name="Copyright">
  <script src="static/js/jquery.min1.js"></script>
  <script src="static/js/iCMS.min.js"></script>
  <script>
    iCMS.init({
      URL: "http://www.runtzcyy.com",
      API: "../rtyy/public/api.php",

      PUBLIC: "../rtyy/public",
      COOKIE: 'iCMS',
      COMMENT: {
        seccode: "1"
      },
      DIALOG: {
        title: '重庆市润心智慧云医  提示信息'
      },
    });
  </script>
  <script type="text/javascript" src="static/js/app.js"></script>

  <style>
    #login-submit:hover {
      cursor: pointer;
    }

    #login-submit:hover a {
      color: white;
    }
  </style>
</head>

<body>
  <div class="SephoraLoginIn">
    <!-- <div class="HeaderBg">
      <div class="HeaderMiddle">
        <div class="HeaderLogo" onclick="window.location.href='http://www.runtvip.com'"></div>
      </div>
    </div> -->
    <div class="BodyBg">
      <div class="LoginBgPicture" style="background-image: url(static/image/a754a69aa806a7a5fe3295db50f19d80.png);">
      </div>
      <div class="BodyMiddle">
        <div class="imgShow"></div>
        <div class="main">
          <div id="login-box" class="mainMiddle passport-form form-horizontal">
            <div class="head">登录官网</div>
            <div class="tip"></div>
            <div class="inputCombie first">
              <div class="user icon-left"></div>
              <div class="SepBaseInput-chen form-group" style="width: 300px;">
                <input type="text" name="uname" class="form-control input_login_name" id="uname" placeholder="邮箱 或 昵称">
                <p class="help-block tip-error tip-uname" style="display: none;color: #038bd8;">
                  请输入登录名</p>
              </div>
            </div>
            <div class="inputCombie">
              <div class="password icon-left"></div>
              <div class="SepBaseInput-chen form-group" style="width: 300px;">
                <input type="password" name="pass" class="form-control input_login_password" id="pass"
                  placeholder="请输入密码">
                <p class="help-block tip-error tip-pass" style="display: none;color: #038bd8;">请输入密码
                </p>
              </div>
            </div>

            <div class="autoLoginInAndSearchPassword">
              <p onclick="javascript:window.location.href='../resu.html'">
                忘记密码？</p>
            </div>
            <div id="login-submit" class="confirmButton2 form-group submit"><a class="btn btn-success btn-lg loginbtn">登
                录</a></div>
            <div class="freeRegister">
              <div class="mixedLogin">
                <ul>
                </ul>
              </div>
              <div class="rightArraw"></div>
              <p>
                <!-- react-text: 44 -->还没有账号？
                <!-- /react-text --><span class="red"
                  onclick="javasript:window.location.href='./register.html'">免费注册</span>
              </p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="clearFix"></div>
  </div>

  ﻿<div class="footer" id="fotHgt">
    <div class="footBox">
      <ul class="footLine">
        <li class="footLine_1">
          <dl>
          </dl>
        </li>
        <li class="footLine_2">
          <dl>
          </dl>
        </li>




        <li class="footLine_7" style="float:right">
          <dl>
          </dl>
        </li>
      </ul>


      <div class="Copyright" style="margin: 25px 0 0 0;">
        <div style="margin: button 0px;">
          <p >Copyright &#169; Copyright © 2018 重庆市润心智慧云医医药科技有限公司 版权所有 
          </p >
          <a href="https://beian.miit.gov.cn/" target="_blank">ICP备案: 渝ICP备19014022号国家食品药品监督管理总局 |      全国热线电话: 400-625-2101</a>
          <!--<div class="Copyright_right fr"><a href="####" onclick="openZoosUrl('chatwin');return false;" >Club俱乐部>></a></div>-->
           <a target="_blank">产品名称&nbsp;&nbsp;:&nbsp;&nbsp;奥利司他胶囊   |     产品注册(备案)号  :  国药准字H20133171
        </div>
      </div>

    </div>

  </div>
  <script src="static/js/bmiv2.js"></script>

  <!--<script language="javascript" src="http://kdl.zoossoft.net/JS/LsJS.aspx?siteid=KDL40610285&float=0&lng=cn"></script>-->
  <style>
    /* 侧边栏样式 */
    @font-face {
      font-family: 'iconfont';
      /* project id 741038 */
      src: url('static/font/font_741038_30x3tjg0xlc.eot');
      src: url('static/font/font_741038_30x3tjg0xlc.eot') format('embedded-opentype'),
        url('static/font/font_741038_30x3tjg0xlc.woff') format('woff'),
        url('static/font/font_741038_30x3tjg0xlc.ttf') format('truetype'),
        url('static/font/font_741038_30x3tjg0xlc.svg') format('svg');
    }

    .iconfont {
      font-family: "iconfont" !important;
      font-size: 16px;
      font-style: normal;
      -webkit-font-smoothing: antialiased;
      /*字体清除锯齿效果*/
      -webkit-text-stroke-width: 0.2px;
      /*文本外边框大小*/
      -moz-osx-font-smoothing: grayscale;
    }


    /*@media (min-width: 1024px){
        .asider{top:7%}
    } !*>=1024的设备*!

    @media (min-width: 1100px) {
        .asider{top:10%}
    } !*>=1100的设备*!
    @media (min-width: 1280px) {
        .asider{top:12%}
    } !*>=1280的设备*!

    @media (min-width: 1366px) {

        .asider{top:15%}
    }

    @media (min-width: 1440px) {
        .asider{top:18% !important;}
    }

    @media (min-width: 1680px) {
        .asider{top:25%}
    }
    @media (min-width: 1920px) {
        .asider{top:30%}
    }*/

    .asider {
      z-index: 999;
      padding: 1.34rem 0;
      box-sizing: border-box;
      position: fixed;
      /*top: 30%;*/
      /*transform: translateY(-50%);*/
      right: 0;
      margin-right: 0.2rem;
      width: 78px;
      /*height: 220px;*/
      background: #3255ca;
      border-radius: 16px;
      transition: all .3s;
    }

    .asider a {
      position: relative;
      /*后加的代码*/
      width: 100%;
      height: 60px;
      line-height: 60px;
      margin-bottom: 0.26rem;
      display: block;
      text-align: center;
    }

    /* .asider a img {
         width: 0.4rem;
         height: 0.4rem;
         !*margin-bottom: 1.3rem;*!
     }*/
    .asider a .company-phone {
      /*display: none;*/
      opacity: 0;
      position: absolute;
      right: -182px;
      top: 3px;
      text-align: center;
      width: 180px;
      height: 53px;
      line-height: 53px;
      border-radius: 0.1rem;
      background: #3255ca;
      box-shadow: 0 0 0.15rem #ccc;
      transition: all .5s linear;



      -moz-box-shadow: 0 0 0.15rem #ccc;


      -webkit-box-shadow: 0 0 0.15rem #ccc;


      box-shadow: 0 0 0.15rem #ccc;

      border-radius: 0.1rem;

      -moz-border-radius: 0.1rem;

      -webkit-border-radius: 0.1rem;

      behavior: url(http://runtdyf.com/PIE-1.0.0/PIE.htc);









    }

    .asider i {
      font-size: 38px;
      color: white;
    }

    #email>i {
      font-size: 34px;
    }

    .asider a .company-phone span {
      color: #fff;
      font-size: 18px;
      width: 180px;
      height: 53px;
    }

    .asider a .email-pic {
      /*display: none;*/
      opacity: 0;
      position: absolute;
      right: -182px;
      top: 4px;
      text-align: center;
      width: 180px;
      height: 53px;
      line-height: 53px;
      border-radius: 0.1rem;
      background: #3255ca;
      box-shadow: 0 0 0.15rem #ccc;
      color: #fff;
      font-size: 18px;
      transition: all .5s linear;
    }

    .asider a .company-weixin {
      /*display: none;*/
      opacity: 0;
      position: absolute;
      right: -182px;
      top: 5px;
      text-align: center;
      width: 180px;
      height: 53px;
      line-height: 53px;
      border-radius: 0.1rem;
      background: #3255ca;
      box-shadow: 0 0 0.15rem #ccc;
      color: #fff;
      font-size: 18px;
      transition: all .5s linear;
    }

    .asider a .company-QQ {
      /*display: none;*/
      opacity: 0;
      width: 150px;
      /*height: 112px;*/
      line-height: 0.6rem;
      border-radius: 0.1rem;
      background: #3255ca;
      box-shadow: 0 0 0.15rem #ccc;
      position: absolute;
      right: -182px;
      top: -0.06rem;
      color: #fff;
      font-size: 0.18rem;
      text-align: center;
      transition: all .5s linear;
    }

    .asider a .company-QQ img {
      width: 100%;
    }

    .asider a.one {
      background: #01a372;
    }

    .asider a.one .email-pic {
      right: 82px;
      opacity: 1;
    }

    .asider a.one .company-weixin {
      right: 82px;
      opacity: 1;
    }

    .asider a.one .company-QQ {
      right: 82px;
      opacity: 1;
    }

    .asider a.one .company-phone {
      right: 82px;
      opacity: 1;
    }
  </style>
  <div class="asider">

    <a href="javascript:;" id="email">
      <i class="iconfont">&#xe664;</i>
      <div class="email-pic">
        <p>TEL：18523923647</p>
      </div>
    </a>
    <a href="javascript:;" id="company-weixin">
      <i style="font-size: 48px" class="iconfont">&#xe608;</i>
      <!--<div class="company-weixin">
            返回顶部
        </div>-->
    </a>
  </div>

  <script>
    window.onscroll = function () {
      var scrollTop = Math.round(document.documentElement.scrollTop || document.body.scrollTop) + 15;
      var height = document.getElementById("fotHgt").offsetHeight;
      console.log(scrollTop + '----' + (document.body.offsetHeight - document.documentElement.clientHeight - 85));
      if (scrollTop >= document.body.offsetHeight - document.documentElement.clientHeight - 130) {
        var b = document.getElementsByClassName("asider")[0];
        b.style.top = "auto";

        b.style.bottom = height + 20 + "px";
      } else {
        var b = document.getElementsByClassName("asider")[0];
        b.style.bottom = "auto";

        b.style.top = 30 + "%";
      }
    }
    $(window).trigger('scroll');



    $(function () {




      //侧边栏js
      $('#company-phone').on('mouseenter', function () {
        $(this).addClass('one');
      }).on('mouseleave', function () {
        $(this).removeClass('one');
      })

      $('#email').on('mouseenter', function () {
        $(this).addClass('one');
      }).on('mouseleave', function () {
        $(this).removeClass('one');
      })


      $('#company-weixin').on('mouseenter', function () {
        $(this).addClass('one');
      }).on('mouseleave', function () {
        $(this).removeClass('one');
      })

      $('#company-QQ').on('mouseenter', function () {
        $(this).addClass('one');
      }).on('mouseleave', function () {
        $(this).removeClass('one');
      });
      //返回顶部
      $("#company-weixin").on("click", function () {
        $('body,html').animate({
          scrollTop: 0
        }, 1000);
      })
    })
  </script>
  <!--
<style>
    #rightbar{
        width:40px;height:4000px;
        position:fixed;right:0;z-index:9999999;
        color:#fff;top:0;
    }
    #rightbar_navs{margin-top:200px;}
    .backtop{right:50px;}
    #rightbar_navs ul li{position: relative;width: 40px;}
    .i-sidebarcom1, .i-sidebarcom2, .i-sidebarcom3, .i-sidebarcom4, .i-sidebarcom5 , .i-sidebarcom6  , .i-sidebarcom7
    {
        display: block;
        margin: 20px auto;
        width: 40px;
        height: 40px;
        background-image: url(&lt;!&ndash;{$site.urls.tpl}&ndash;&gt;/static/index/images/icon.png);
        background-repeat: no-repeat;
        cursor: pointer;
    }
    .bgcye{background:#01a372;}
    .i-sidebarcom1 {background-position: 0 0;}
    .i-sidebarcom2 {background-position: 0 -45px;}
    .i-sidebarcom3 {background-position: 0 -100px;}
    .i-sidebarcom4 {background-position: 0 -157px;}
    .i-sidebarcom5 {background-position: 0 -210px;}
    .i-sidebarcom6 {background-position: 0 -260px;}
    .i-sidebarcom7 {background-position: 0 -310px;}
    .sidebarcom-hover {
        position: absolute;
        right: -120px;
        top: 0;
        z-index: -1;
        width: 110px;
        color:#fff;
        line-height: 40px;
        padding: 0 8px;
        -webkit-border-radius: 3px 0 0 3px;
        -moz-border-radius: 3px 0 0 3px;
        border-radius: 3px 0 0 3px;
        border-right: none;
        font-size: 14px;
        text-align: center;
        -webkit-transition: .3s linear;
        -moz-transition: .3s linear;
        transition: .3s linear;
        opacity: 0.8;
        filter:Alpha(opacity=80);
    }
    .sidebarcom-asset:hover{background:#01a372}
    .sidebarcom-hover-show{right:40px;background:url(&lt;!&ndash;{$site.urls.tpl}&ndash;&gt;/static/index/images/right_nav_bg_on.png) no-repeat right center #3255ca;}
    .sidebarcom-hover-show2{right:54px;}




    .ceng{    width: 40px;
        height: 4000px;
        position: fixed;
        right: 0;
        opacity: 0.8;
        filter:Alpha(opacity=80);
        z-index: 9999999;
        background: #3255ca;
        color: #fff;
        top: 0;}











</style>
<div class="ceng"></div>
<div id="rightbar">
    <div id="rightbar_navs">

        <ul class="sidebarcom-oper">
            &lt;!&ndash;<li class="sidebarcom-asset" onclick="location.href='http://mall.mingyaohui.com/user.php'">
                <div>
                    <i class="i-sidebarcom1"></i>
                    <p class="sidebarcom-hover">我的账号</p>
                </div>
            </li>&ndash;&gt;

            <li class="sidebarcom-asset" onclick="window.location.href='&lt;!&ndash;{iCMS:category:array cid='6'}&ndash;&gt;&lt;!&ndash;{$category_array.url}&ndash;&gt;'">
                <div>
                    <i class="i-sidebarcom3"></i>
                    <p class="sidebarcom-hover">在线咨询</p>
                </div>
            </li>
            <li class="sidebarcom-asset">
                <div >
                    <i class="i-sidebarcom5"></i>
                    <p class="sidebarcom-hover" style="border:None;background:none;" rel="50">
                        <img src="&lt;!&ndash;{iCMS:category:list loop='true' row='1' pid='106'}&ndash;&gt;&lt;!&ndash;{$category_list.mpic.url}&ndash;&gt;&lt;!&ndash;{/iCMS}&ndash;&gt;" width="130px" height="130px"/></p>
                </div>
            </li>
            <li class="sidebarcom-asset">
                <div >
                   <i class="i-sidebarcom7" onclick="javascript:window.location.href='#'"></i>
                    <p class="sidebarcom-hover">回到顶部</p>
                </div>
            </li>
        </ul>
    </div>
</div>
<script>
    $(function(){
        $(".sidebarcom-asset").hover(function(){
            $(this).find("i").css("background-color","none");
            if($(this).find("i").next().attr("rel")=='50'){
                $(this).find("i").next().addClass("sidebarcom-hover-show2")
            }else{
                $(this).find("i").next().addClass("sidebarcom-hover-show")
            }

        })
        $(".sidebarcom-asset").mouseout(function(){
            $(this).find("i").css("background-color","none")
            $(this).find("i").next().removeClass("sidebarcom-hover-show")
            $(this).find("i").next().removeClass("sidebarcom-hover-show2")
        })
    })
</script>-->
  <!--footer结束-->
  <!--<script type="text/javascript">
    new WOW().init();
</script>-->
  <script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-91636810-36']);
    _gaq.push(['_trackPageview']);
    (function () {
      var ga = document.createElement('script');
      ga.type = 'text/javascript';
      ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +
        '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0];
      s.parentNode.insertBefore(ga, s);
    })();
  </script>
</body>

</html>


<style>
  .title_stop {
    position: fixed;
    top: 28%;
    left: 78%;
    transform: translate(-50%, -28%);
    z-index: 1000;
  }

  .title_stop p {
    font-size: 20px;
    color: red;
    display: none;
  }
</style>


<script>
  $(function () {
    var login = $("#login-box");
    $("#login-submit").click(function (event) {
      event.preventDefault();
      $(".tip-error").hide();
      var param = {
        uname: $("#uname", login).val(),
        pass: $("#pass", login).val(),
        seccode: $("#seccode", login).val(),
        remember: $('input[name="remember"]', login).val()
      }
      if (param.uname == "") {
        tip({
          forward: 'uname',
          msg: '请输入用户名'
        });
        return false
      }
      if (param.pass == "") {
        tip({
          forward: 'pass',
          msg: '请输入密码'
        });
        return false
      }

      // delete localStorage["name"];

      // delete localStorage["password"];
      var email = localStorage.getItem("email");

      var password = localStorage.getItem("password");
      var nickname = localStorage.getItem("nickname");
      if(param.uname === '12233@qq.com' && param.pass === '123456'){
		  localStorage.setItem("isLogin", 1);
		  localStorage.setItem("isLogin", 1);
		   localStorage.setItem("email", "12233@qq.com");
		    localStorage.setItem("password", "12233@qq.com");
		    localStorage.setItem("nickname", "123456");
		  alert('登录成功！！！')
		  window.open('index.html', '_self')
	  } else if (param.pass === password && param.uname === email || param.uname === nickname) {
        localStorage.setItem("isLogin", 1);
		 localStorage.setItem("email", "12233@qq.com");
		  localStorage.setItem("password", "12233@qq.com");
		  localStorage.setItem("nickname", "123456");
        alert('登录成功！！！')
        window.open('index.html', '_self')
      } else {
        alert('用户名或密码错误，如未注册，请先注册')
      }
	  
	  // if (email === null && password === null) {
	  //   alert('当前用户暂未注册，请先去注册')
	  // }
      // function goLogin() {
      //   console.log('params=>>>>>>>>>>>>>>>>>', param)
      // }
      //登录接口
      // iCMS.run('passport', function ($PASSPORT) {
      //   //登录成功 事件绑定
      //   $PASSPORT.SUCCESS = function (s) {
      //     window.top.location.href = "../index.html";
      //   }
      //   //登录失败 事件绑定
      //   $PASSPORT.FAIL = function (f) {
      //     tip({
      //       forward: 'uname',
      //       msg: '用户名或者密码错误！'
      //     });
      //   }
      //   //提交参数
      //   $PASSPORT.LOGIN(param);

      //   localStorage.setItem("name", param.uname);
      //   localStorage.setItem("password", param.pass);
      // });
      //提示
      function tip(ret) {
        iCMS.UI.seccode(".seccode-img", login);
        var tip = $('.tip-' + ret.forward);
        tip.text(ret.msg).show();
      }
    });
  })
</script>